package com.dmgis.hndz.service;

import com.alibaba.fastjson.JSONObject;
import com.dmgis.hndz.pojo.Zhyhd;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface EmergencyService {
    Map<String,Object> createFile(Integer issueNum,
                                  String userName,
                                  String yjType,
                                  String sXType,
                                  String date,
                                  String timeChar,
                                  Integer nTimes,
                                  String colorAndPos,
                                  String posStr,
                                  MultipartFile[] images,
                                  String layerName,
                                  String dlData,
                                  int type) throws IOException, ParseException;

    List<Zhyhd> UpdateMap(String mapType);
}
